.mobile-app-qrcode {
  .ant-modal-close {
    border-radius: 50%;
    background: #fff;
    top: -30px;
    right: -25px;
  }
  .ant-modal-close-x {
    width: 30px;
    height: 30px;
    font-size: 16px;
    line-height: 30px;
  }
}

.mobile-app-wapper {
  height: 100%;
  min-width: 1125px;
  color: #666;
  background: inherit !important;
  h4 {
    font-weight: normal;
    color: #222;
  }
  &>div {
    height: 100%;
    background: #fff;
  }
  .actions {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
  }
  .ant-form-item-label {
    text-align: right !important;
    padding-left: 0 !important;
    max-width: 80px;
    label {
      color: rgba(0, 0, 0, 0.6);
      font-size: 13px;
    }
  }
  .ant-form-text {
    font-size: 13px;
    line-height: 32px;
    color: #000;
  }
  .mobile-app-panel {
    .panel-title {
      font-size: 15px;
      font-weight: 600;
      line-height: 20px;
      padding: 8px 0;
      width: 100%;
      color: rgba(0, 0, 0, 0.75);
      border-bottom: 1px solid #dcdcdc;
    }
    .panel-content {
      padding: 20px;
    }
  }
  
  .mobile-app-content {
    overflow: hidden;
    .ant-form-item {
      margin-bottom: 0;
    }
    .app-icon-item {
      .ant-form-item-control {
        line-height: 22px;
      }
    }
    .ant-form-item-control {
      margin-left: 30px;
      border-bottom: 1px solid #eee;
      input {
        width: 80%;
        min-width: 220px;
        border: none;
      }
      .app-icon-upload {
        position: absolute;
        opacity: 0;
        width: 64px;
        min-width: 0;
        height: 100%;
      }
    }
    .ant-switch-checked {
      border-color: #35c266;
      background-color: #35c266;
    }
    .wea-new-top {
      &>div {
        padding-left: 10px !important;
      }
      &>div:last-child {
        &>span:first-child {
          vertical-align: baseline !important;
        }
      }
      .wea-new-top-drop-btn {
        right: -1px;
      }
    }
    .ant-col-20 {
      min-width: calc(~"100% - 80px");
    }
    .app-icon {
      width: 64px;
      height: 64px;
      margin-top: 7px;
    }
    
    .page-preview-wrapper {
      padding: 18px 20px 6px;
      overflow: hidden;
      img {
        width: 180px;
        max-height: 245px;
      }
      .app-thumbnail {
        position: relative;
        img:first-child {
          height: 33px;
        }
        p {
          position: absolute;
          top: 6px;
          line-height: 30px;
          left: 50%;
          transform: translateX(-50%);
          text-align: center;
          color: #fff;
          z-index: 12;
          opacity: .4;
          white-space: nowrap;
          max-width: 72px;
          overflow: hidden;
          text-overflow: ellipsis;
          display: block;
        }
      }
    }
  }
}

/* AppCreate */
.app-create {
  .ant-form-item-label {
    padding-right: 50px !important;
    text-align: right !important;
  }
  .ant-tabs-bar{ display: none;}
  .has-success .ant-input:hover,
  .has-success .ant-input:focus{ border-color: #57c5f7;}
  .ant-input { padding-left: 8px;}
  .ant-modal-footer{text-align: center;}
  .wea-new-scroll{ padding-bottom: 16px}
  .ant-pagination { display: inline-block}
  .ant-tabs-nav {
    .ant-tabs-tab-inner:hover{ color: #57c5f7; }
    .ant-tabs-tab {
      margin-right: 16px; 
      color: #666;
    }
  }  
  .ant-tree{
    padding: 0;
    &>li:first-child { margin: 0}
  }
  textarea { height: 100px !important;}
  .appmode-list {
    margin-top: 10px;
    text-align: left;
    height: 450px;
    li:hover { background: #eaf8fe;}
    li {
      padding: 2px 12px;
      cursor: pointer;
      &.active {background: #d5f1fd}
      p {
        padding: 2px 0;
        color: #666;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      span {
        font-size: 10px;
        color: #a6a6a6;
      }
    }
  }
}

/* ModelLayout */
.model-layout {
  .ant-tabs-bar { display: block;}
  .ant-tabs-tab-inner { padding: 0 2px 5px 2px;}
  .ml-card {
    padding: 5px 0 5px 5px;
    position: relative;
    margin-bottom: 5px;
    border: 1px solid transparent;
    cursor: pointer;
    &.selected {
      border: 1px solid #2690e3;
      background: #f5f5f5;
    }
    &.default:before {
      content: "";
      position: absolute;
      right: -4px;
      transform: rotate(135deg);
      -ms-transform: rotate(135deg);
      -webkit-transform: rotate(135deg);
      top: -16px;
      width: 0px;
      height: 0px;
      border-bottom: 24px solid transparent;
      border-top: 24px solid transparent;
      border-right: 24px solid #2690e3;
      font-size: 0px;
      line-height: 0px;
      z-index: 1;
    }
    &.default:after {
      content: attr(data-tag);
      transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      position: absolute;
      right: -3px;
      top: 5px;
      color: #fff;
      font-size: 10px;
      z-index: 1;
    }
    &.normal:after {
      content: attr(data-tag);
      position: absolute;
      background: #808080;
      color: #fff;
      right: 5px;
      top: 5px;
      padding: 1px 4px;
      border-radius: 5px;
    }
    &.selected .card-checked { display: block}
    .card-checked {
      width: 18px;
      height: 18px;
      position: absolute;
      right: 0px;
      bottom: 0px;
      display: none;
      &:before {
        content: "";
        position: absolute;
        right: -3px;
        transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
        top: 0px;
        width: 0px;
        height: 0px;
        border-bottom: 14px solid transparent;
        border-top: 14px solid transparent;
        border-right: 14px solid #269195;
        border-radius: 48px;
        font-size: 0px;
        line-height: 0px;
        z-index: 1;
      }
      &:after {
        content: attr(data-checked);
        position: absolute;
        right: 0;
        top: 4px;
        color: #fff;
        font-size: 10px;
        transform: rotate(5deg);
        -ms-transform: rotate(5deg);
        -webkit-transform: rotate(5deg);
        z-index: 1;
      }
    }
    img {
        height: 38px;
        width: 38px;
        vertical-align: middle;
    }
    div {
      margin: -3px 0 0 7px;
      vertical-align: top;
      display: inline-block;
    }
    p {
      padding: 0;
      margin: 0;
      font-size: 16px;
      color: #555;
    }
    span {
      color: #aaa;
      font-size: 12px;
    }
  }
  .check-all {
    display: inline-block;
    position: absolute;
    top: -38px;
    right: 0;
    &>span {
      padding-right: 5px;
    }
  }
}

/* AppSkin */
.appskin-modal{
  .ant-modal-body { 
    padding: 0 4px 16px 16px;
    background: rgb(236, 236, 236);
  }
}